// 用户模块

const state = () => {
  return {
    // 用户信息
    profile: {
      id: '',
      avatar: '',
      nickname: '888',
      account: '',
      mobile: '',
      token: ''
    }
  }
}
const mutations = {
  setUser(state, payload) {
    state.profile = payload
  }
}
const actives = {}

export default {
  namespaced: true,
  state,
  mutations,
  actives
}
